<div>
	<?php echo link_to('Learn vietnamese online >','@homepage') ?>
	<?php
		if( isset($coursename ) )
			echo link_to( $coursename . '>', 'course/show?id='. $sf_request->getParameter('courseid',0) );
		else
			echo "Unknow";
	?>
	<?php
		if(isset($levelname))
			echo link_to( $levelname, 'level/show?id=' . $sf_request->getParameter('levelid',0) . '&courseid='.$sf_request->getParameter('courseid',0) );
		else
			echo "Unknow";
	?>
	<ul id="qnavlist" >
	<li><p id="qheader" style="border-bottom:1px solid #CCCC00; " ><?php echo $coursename . ' - '. $levelname ?> </p></li>
	<li><?php echo link_to('LevelTest', 'leveltest/index?courseid='.$sf_request->getParameter('courseid',0).'&levelid='.$sf_request->getParameter('levelid',0)); ?></li>
	<li>Schedule</li>
	<li><?php echo link_to('Syllabus', 'syllabus/index?courseid='.$sf_request->getParameter('courseid',0).'&levelid='.$sf_request->getParameter('levelid',0) );?></li>
	<li><?php echo link_to('Level Study Kit', 'levelstudykit/index?courseid='.$sf_request->getParameter('courseid',0).'&levelid='.$sf_request->getParameter('levelid',0) );?></li>
	</ul>
	<p> <?php echo link_to('SignUp', '@homepage') ?> </p>
</div>
<div>
	<table>
	<tr>
		<td>No.</td>
		<td>Lession Name</td>
		<td>Lession Description</td>
	</tr>
    <?php foreach ( $rows as $syllabus): ?>
	<tr>
		<td><?php echo $this->stt++; ?></td>
		<td><?php echo $syllabus->getSyllaLessionName() ?></td>
		<td><?php echo $syllabus->getSyllaLessionDescription() ?></td>
	</tr>
    <?php endforeach; ?>
	</table>
</div>
<div>
	<?php if ($pager->haveToPaginate()): ?>
	  <?php echo link_to('&laquo;', 'level/index?page='.$pager->getFirstPage()) ?>
	  <?php echo link_to('&lt;', 'level/index?page='.$pager->getPreviousPage()) ?>
	  <?php $links = $pager->getLinks(); foreach ($links as $page): ?>
		<?php echo ($page == $pager->getPage()) ? $page : link_to($page, 'level/index?page='.$page) ?>
		<?php if ($page != $pager->getCurrentMaxLink()): ?> - <?php endif ?>
	  <?php endforeach ?>
	  <?php echo link_to('&gt;', 'level/index?page='.$pager->getNextPage()) ?>
	  <?php echo link_to('&raquo;', 'level/index?page='.$pager->getLastPage()) ?>
	<?php endif ?>
</div>
 <!-- <a href="<?php echo url_for('level/new') ?>">New</a> -->
